﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using VideoCache.Server.MVCWeb.Attributes;

namespace VideoCache.Server.MVCWeb.Areas.Admin.Models
{
    public class LoginModel
    {
        [Display(Name = "账号")]
        [Required]
        public string UserName { get; set; }

        [Display(Name = "密码")]
        [Required]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        [Display(Name = "验证码")]
        [Required]
        [VerifyCode]
        public string VerifyCode { get; set; }
    }
}